package com.learn.designPatterns.createType.AbstractFactory;

/**
 * @classname:
 * @Description:
 * @author: yfpu
 * @Date: 2018-09-10 19:07
 */
public class ConcreteFactory1 extends AbstractFactory{
    @Override
    AbstractProductA abstractProductA() {
        return new ProductA1();
    }

    @Override
    AbstractProductB abstractProductB() {
        return new ProductB1();
    }
}
